package com.edu.demo.service;

import com.edu.demo.entity.UserBean;

/**
 * @author XYH
 * date 2024-03-09
 */
public interface IRegisterService {
    /**
     * 邮箱注册
     * @param userBean
     * @return
     * 1 成功
     * else 失败
     */
    int registerByEmail(UserBean userBean);

    /**
     * 手机号注册
     * @param userBean
     * @return
     * true 成功
     * false 失败
     */
    boolean registerByPhone(UserBean userBean);
}
